package com.aplikata.evok.bo;

import java.util.HashSet;
import java.util.Set;

/**
 * @ClassName: Qt
 * @Description: TODO
 * @author Huyun
 * @date 15. 5. 2012. 14:04:35
 */
public class Qt implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private QtCategory qtCategory;
	private String name;
	private Integer sort;
	private String imgUrl;
	private Set<PatientQtnaireResult> patientQtnaireResults = new HashSet<PatientQtnaireResult>(0);
	private Set<PatientQtnaireNotice> patientQtnaireNotices = new HashSet<PatientQtnaireNotice>(0);
	
	public static final String QY_FIND_BY_CATEGORY = "Qt.findByCategory";
	public static final String QY_FIND_BY_QTNAIRE = "Qt.findByQtnaire";

	// Constructors

	/** default constructor */
	public Qt() {
	}

	/** minimal constructor */
	public Qt(QtCategory qtCategory) {
		this.qtCategory = qtCategory;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public QtCategory getQtCategory() {
		return qtCategory;
	}

	public void setQtCategory(QtCategory qtCategory) {
		this.qtCategory = qtCategory;
	}

	public Set<PatientQtnaireResult> getPatientQtnaireResults() {
		return patientQtnaireResults;
	}

	public void setPatientQtnaireResults(Set<PatientQtnaireResult> patientQtnaireResults) {
		this.patientQtnaireResults = patientQtnaireResults;
	}

	public Set<PatientQtnaireNotice> getPatientQtnaireNotices() {
		return patientQtnaireNotices;
	}

	public void setPatientQtnaireNotices(Set<PatientQtnaireNotice> patientQtnaireNotices) {
		this.patientQtnaireNotices = patientQtnaireNotices;
	}
}